package com.business.bean.oa;

import java.util.Date;

import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

@Table(name = "OA_REPORT_MOONTH",description = "工作月报表")
public class ReportMoonth extends ModelBean {

	@Column(pk = true, type = Type.定长文本, description = "月报编号", canNull = false, size = 32, policy = "UUID")
	private String moonthReportID = null;

	@Column(type = Type.定长文本, description = "用户编号", size = 32)
	private String userID = null;

	@Column(type = Type.变长文本, description = "用户姓名", size = 50)
	private transient String userName = null;

	@Column(type = Type.定长文本, description = "部门编号", size = 32)
	private String departID = null;

	@Column(type = Type.变长文本, description = "部门名称", size = 100)
	private transient String departName = null;

	@Column(type = Type.日期时间, description = "起始时间")
	private Date startWorkTime = null;

	@Column(type = Type.日期时间, description = "结束时间")
	private Date endWorkTime = null;

	@Column(type = Type.数字双精度型, description = "工作时长")
	private double workTime = 0;

	@Column(type = Type.数字双精度型, description = "请假时长")
	private double applyTime = 0;

	@Column(type = Type.数字双精度型, description = "加班时长")
	private double overTime = 0;

	@Column(type = Type.数字双精度型, description = "工作总时长")
	private double totalWorkTime = 0;

	public String getMoonthReportID() {
		return moonthReportID;
	}

	public void setMoonthReportID(String moonthReportID) {
		this.moonthReportID = moonthReportID;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getDepartID() {
		return departID;
	}

	public void setDepartID(String departID) {
		this.departID = departID;
	}

	public String getDepartName() {
		return departName;
	}

	public void setDepartName(String departName) {
		this.departName = departName;
	}

	public Date getStartWorkTime() {
		return startWorkTime;
	}

	public void setStartWorkTime(Date startWorkTime) {
		this.startWorkTime = startWorkTime;
	}

	public Date getEndWorkTime() {
		return endWorkTime;
	}

	public void setEndWorkTime(Date endWorkTime) {
		this.endWorkTime = endWorkTime;
	}

	public double getWorkTime() {
		return workTime;
	}

	public void setWorkTime(double workTime) {
		this.workTime = workTime;
	}

	public double getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(double applyTime) {
		this.applyTime = applyTime;
	}

	public double getOverTime() {
		return overTime;
	}

	public void setOverTime(double overTime) {
		this.overTime = overTime;
	}

	public double getTotalWorkTime() {
		return totalWorkTime;
	}

	public void setTotalWorkTime(double totalWorkTime) {
		this.totalWorkTime = totalWorkTime;
	}

}
